namespace ASPMVC_first_app.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class SeedUserRoles : DbMigration
    {
        public override void Up()
        {
            Sql(@"
               INSERT INTO [dbo].[AspNetUsers] ([Id], [Email], [EmailConfirmed], [PasswordHash], [SecurityStamp], [PhoneNumber], [PhoneNumberConfirmed], [TwoFactorEnabled], [LockoutEndDateUtc], [LockoutEnabled], [AccessFailedCount], [UserName]) VALUES (N'489855a9-8b8f-4aa7-8c01-ef14ed8325e6', N'admin@myapp.com', 0, N'ANgr+Bb9EvwPLcVfhTmgjdiA1qtafEM6tC6eRvyd1lfl5QgagVZcOu8Sw8za6GOCVA==', N'ff916af0-7cef-4c15-8963-c6311d8c965b', NULL, 0, 0, NULL, 1, 0, N'admin@myapp.com')
               INSERT INTO [dbo].[AspNetUsers] ([Id], [Email], [EmailConfirmed], [PasswordHash], [SecurityStamp], [PhoneNumber], [PhoneNumberConfirmed], [TwoFactorEnabled], [LockoutEndDateUtc], [LockoutEnabled], [AccessFailedCount], [UserName]) VALUES (N'4a0eb066-8a16-4693-ba52-c2cd7f3179a9', N'vasya@ukr.net', 0, N'ANJd41ozGyLGQmIrfG8m49QHJIgyKkMw4LI16MDcJ8QUnoX9k4BcaW0/BSYPfKpkHg==', N'589ee35f-e205-412a-a69a-ce52d39b3d73', NULL, 0, 0, NULL, 1, 0, N'vasya@ukr.net')
              
               INSERT INTO [dbo].[AspNetRoles] ([Id], [Name]) VALUES (N'7ff9ade9-3298-49b8-ba6e-8ce6848f0d35', N'SuperAdmin')
               INSERT INTO [dbo].[AspNetUserRoles] ([UserId], [RoleId]) VALUES (N'489855a9-8b8f-4aa7-8c01-ef14ed8325e6', N'7ff9ade9-3298-49b8-ba6e-8ce6848f0d35')
               
");
        }

        public override void Down()
        {
        }
    }
}
